import { PostAjax } from '@/api/myapi';



// 图1：查询-运力统计
export function transportSum(ps) {
    return PostAjax('/company/order/transportSum', ps);
}
// 图2：业务员订单统计
export function sumServiceMan(ps) {
    return PostAjax('/company/finance/sumServiceMan', ps);
}
// 图3：订单分析
export function orderAnalysis(ps) {
    return PostAjax('/company/order/orderAnalysis', ps);
}
// 图4：业务动态分析
export function serviceAnalysis(ps) {
    return PostAjax('/company/order/serviceAnalysis', ps);
}
// 图5：证件和休假请求 ｜ 保养和保险请求
export function countDriverRemind(ps) {
    return PostAjax('/company/driver/countDriverRemind', ps);
}
export function findDriverOutPercent(ps) {
    return PostAjax('/company/vehicle/findDriverOutPercent', ps);
}
export function findCarStatusCount(ps) {
    return PostAjax('/company/vehicle/findCarStatusCount', ps);
}
export function findCarUsePercent(ps) {
    return PostAjax('/company/vehicle/findCarUsePercent', ps);
}

// 图6：车辆状态
export function countCarOut(ps) {
    return PostAjax('/company/vehicle/countCarOut', ps);
}

// 图8: 驾驶员状态
export function countDriverOut(ps) {
    return PostAjax('/company/driver/countDriverOut', ps);
}
// 图9: 财务统计
export function bsfsCount(ps) {
    return PostAjax('/company/finance/bsfsCount', ps);
}
// 图10: 收支统计
export function sumBankTrade(ps) {
    return PostAjax('/company/finance/sumBankTrade', ps);
}

// 图11: 银行帐成本统计
export function costBankTrade(ps) {
    return PostAjax('/company/finance/costBankTrade', ps);
}
// 图12: 车辆营收利润对比
export function carAnalysis(ps) {
    return PostAjax('/company/vehicle/carAnalysis', ps);
}
// 座位数
export function getAllSeats(ps) {
    return PostAjax('/company/vehicle/getAllSeats', ps);
}
// 图13
export function carSeatsAnalysis(ps) {
    return PostAjax('/company/vehicle/carSeatsAnalysis', ps);
}




// 客户应收统计
export function sumCusGath(ps) {
    return PostAjax('/company/finance/sumCusGath', ps);
}
// 客户月份订单统计
export function countMonthOrder(ps) {
    return PostAjax('/company/finance/countMonthOrder', ps);
}


// 获取客服角色
export function findServiceRole(ps) {
    return PostAjax('/company/menu/findServiceRole', ps);
}

